home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20031118-20041115
/
000368_broezell@cig.mot.com_Wed Aug 25 08:57:53 2004.msg
< prev
next >
Wrap
Internet Message Format
|
2004-11-14
|
2KB
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.mathworks.com!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.sea.pnap.net!newsfeed2.sea.pnap.net!newsfeed.pnap.net!newsgate.mot.com!newshost.mot.com!avnika.corp.mot.com!broezell
From: broezell@cig.mot.com (Ken V. Broezell {QMCS11})
Newsgroups: comp.protocols.kermit.misc
Subject: input command
Date: Tue, 24 Aug 2004 20:11:44 +0000 (UTC)
Organization: Motorola, Inc.
Lines: 23
Message-ID: <cgg7e0$3od$1@avnika.corp.mot.com>
NNTP-Posting-Host: login4.cig.mot.com
X-Trace: avnika.corp.mot.com 1093378304 3853 160.22.92.95 (24 Aug 2004 20:11:44 GMT)
X-Complaints-To: news@avnika.corp.mot.com
NNTP-Posting-Date: Tue, 24 Aug 2004 20:11:44 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15133
Is there a way to to get the input/minput command to find an exact match?
I want it to find only the string:
login:
That's a single space followed by login: and no trailing spaces. Using
the UNIX grep command I would find it using:
grep '^ login:$' file_name
Instead, input/minput is catching any line with login: within it, such
as:
Last login: Tue Aug 17 16:03:20 from 10.195.10.8
Thanks
--
+-----------------+----------------------------------+------------------------+
| . . |Kenny Broezell |phone :(847) 342-5633|
| ... ... |Customer Network Resolution Center|alt phone:(847) 632-5390|
| ..... ..... |1501 Shure Drive |fax :(847) 632-3157|